# Contributor: 6543 <6543@obermui.de>
# Maintainer: 6543 <6543@obermui.de>
pkgname=py3-txredisapi
_pkgname=txredisapi
pkgver=1.4.10
pkgrel=0
pkgdesc="non-blocking redis client for python twisted"
url="https://github.com/IlyaSkriblovsky/txredisapi"
arch="all"
license="Apache-2.0"
depends="python3 py3-twisted"
makedepends="py3-setuptools python3-dev"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/IlyaSkriblovsky/txredisapi/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # needs running redis

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="
f0ba61c48807de90ec1dde5100b735f7fe0fb8168895d99ee77cbbfe741bae77e0495bf60f719d6cda65d6403c011c9bb15e6057e717afc4051cfdd7e514ddf9  txredisapi-1.4.10.tar.gz
"
